<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$muid=58;
$nums=91;
//====================
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='".$muid."' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
	
?>
</ul>
</div>
<div id="MainBody">
<form name="update" method="post" action="?ac=usergroup&fileurl=user">
		
<div id="CodeWrap">
<div id="TabSwitch">
<ul>
 
 
<li class="active">
<a href="admin.php?ac=usergroup&fileurl=user">权限组设置</a></li>
 
 
 
<li>
<img src="themes01/default/images/addicon.gif" width="10" height="10" />&nbsp;<a href="admin.php?ac=usergroup&do=add&fileurl=user">新建权限组</a></li>
</ul>

 
</div>
<div id="CodeShowBlockWrap">
<div id="QueryBar">
<div id="FilterWrap">
<label for="FilterStatus"><input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /><b>全选</b>&nbsp;&nbsp;<input type="submit" name="do" id="button" value="删 除"/>
</label>
</div>
</div>

<div id="CodeShowBlock">
<table cellpadding="0" cellspacing="0" class="data-box"><thead>
<tr class="border-in"><th width="40"><div>选项</div></th><th class="title"><div>名称</div></th><th class="status"><div>类型</div></th><th class="scale"><div>用户数量</div></th><th class="operation"><div>操作</div></th></tr>
</thead><tbody>

<?foreach ($result as $row) {?>
<tr class="data-box-row"><td width="40" align="center"><input type="checkbox" name="id[]" value="<?=$row['id']?>" <?=($row['type'] == 'system' ? 'disabled="disabled"' : '')?> class="checkbox" /></td>
<td class="title"><a href="?ac=usergroup&do=edit&id=<?=$row['id']?>&fileurl=user"><?=$row['groupname']?></a></td><td class="status"><?=($row['type'] == 'system' ? '<span style="color:green">系统用户组</span>' : '自定义用户组')?></td><td class="scale"><a href="admin.php?ac=index&fileurl=user&groupid=<?=$row['id']?>"><b style="color:green"><?=$row['usercount']?></b></a></td><td class="operation"><a href="?ac=usergroup&do=edit&id=<?=$row['id']?>&fileurl=user">编辑</a></td></tr>
<?}?>


</tbody></table>
 
</div>
<div id="PageControl">
<div class="page-control">
<div class="border-in">
&nbsp;&nbsp;&nbsp;<input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /><b>全选</b>&nbsp;&nbsp;<input type="submit" name="do" id="button" value="删 除"/>
</div>
</div>
</div>
</div>
</div>
 </form>
</div>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
